home *** CD-ROM | disk | FTP | other *** search
-
- ************************************************
- ** **
- ** BYE-PC Interface Libraries for MSC **
- ** using **
- ** Microsoft Assembler Version 5.0 **
- ** **
- ************************************************
-
- This disk contains all of the source code a MAKE files needed
- to create the libraries for all memory models. This code requires using
- the Microsoft Macro Assembler Version 5.0. Many new features have been
- added to the assembler to ease creation of C modules, not to mention
- an impressive assemble time.
-
- These libraries on this disk were created using the steps below
- with MASM Version 5.0. Other assemblers will not work without modifing
- the source code modules. The new .CODE, and .MODEL directives take care
- of all the segment declarations for use with MS languages. Also, the
- PROC's are automatically converted to NEAR or FAR based on the model
- directive. Likewise, the BP+# is adjusted by the ARG equates based on
- memory model @codesize directive.
-
- To change the memory model you simply need to edit one include
- file on this disk MODEL.INC. Set the complier MODEL directive in this
- file to .SMALL, .COMPACT, .MEDIUM or .LARGE. After selection the
- appropriate memory model you are ready to compile the code. This assumes
- your disk is setup with MASM, LIB, and MAKE. Edit the MAKE file BYEXLIB
- to set the macro "$(model)=s,c,m or l". The following examples show the
- command line form:
-
- SMALL MODEL:
- Step 1) Edit MODEL.INC and set directive to "MODEL .SMALL"
- Step 2) C>make model=s byexlib
- Step 3) Link applications to newly created BYEXLIBS.LIB
-
- COMPACT MODEL:
- Step 1) Edit MODEL.INC and set directive to "MODEL .COMPACT"
- Step 2) C>make model=c byexlib
- Step 3) Link applications to newly created BYEXLIBC.LIB
-
- MEDIUM MODEL:
- Step 1) Edit MODEL.INC and set directive to "MODEL .MEDIUM"
- Step 2) C>make model=m byexlib
- Step 3) Link applications to newly created BYEXLIBM.LIB
-
- LARGE MODEL:
- Step 1) Edit MODEL.INC and set directive to "MODEL .LARGE"
- Step 2) C>make model=l byexlib
- Step 3) Link applications to newly created BYEXLIBL.LIB
-